package Spring.testAOP;

import org.example.Spring.AOP.Student;
import org.example.Spring.AOP.StudentProxy;
import org.junit.Test;

public class test {
    @Test
    public void testAOP(){
        Student student = new Student("yy",20);
//        student.talk("勤能补拙");
        StudentProxy proxy = new StudentProxy(student);
        proxy.talk("勤能补拙");
    }
}
